package idv.long.mcv.control.sub
{	
	import idv.long.mcv.NotifyType;
	import idv.long.mcv.control.RenderCommand;
	import idv.long.mcv.control.UpdateCommand;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;

	public class InitControllerCommand extends SimpleCommand
	{
		public function InitControllerCommand()
		{
			super();
		}
		
		override public function execute(notification:INotification):void
		{
			trace("InitControllerCommand execute");
			
			// 註冊所有 command
 			//facade.registerCommand(NotifyType.LOAD_SETTTING, LoadSettingCommand);
 			
			facade.registerCommand(NotifyType.UPDATE, UpdateCommand);
			facade.registerCommand(NotifyType.RENDER, RenderCommand);
			
		}
		
	}
}